package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the TRANS_PIURA database table.
 * 
 */
//@Entity
//@Table(name="TRANS_PIURA")
public class TransPiura implements Serializable {
	private static final long serialVersionUID = 1L;
	private String apeMat;
	private String apePat;
	private Date fecHor;
	private String nombres;
	private BigDecimal servicioId;
	private String strBusq;
	private String usrId;

    public TransPiura() {
    }


	@Column(name="APE_MAT", length=30)
	public String getApeMat() {
		return this.apeMat;
	}

	public void setApeMat(String apeMat) {
		this.apeMat = apeMat;
	}


	@Column(name="APE_PAT", nullable=false, length=30)
	public String getApePat() {
		return this.apePat;
	}

	public void setApePat(String apePat) {
		this.apePat = apePat;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="FEC_HOR", nullable=false)
	public Date getFecHor() {
		return this.fecHor;
	}

	public void setFecHor(Date fecHor) {
		this.fecHor = fecHor;
	}


	@Column(nullable=false, length=40)
	public String getNombres() {
		return this.nombres;
	}

	public void setNombres(String nombres) {
		this.nombres = nombres;
	}


	@Column(name="SERVICIO_ID", nullable=false)
	public BigDecimal getServicioId() {
		return this.servicioId;
	}

	public void setServicioId(BigDecimal servicioId) {
		this.servicioId = servicioId;
	}


	@Column(name="STR_BUSQ", length=100)
	public String getStrBusq() {
		return this.strBusq;
	}

	public void setStrBusq(String strBusq) {
		this.strBusq = strBusq;
	}


	@Column(name="USR_ID", nullable=false, length=15)
	public String getUsrId() {
		return this.usrId;
	}

	public void setUsrId(String usrId) {
		this.usrId = usrId;
	}

}